package com.mbl.base.modular.zeroCode.entity;

import com.mbl.base.core.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lwj
 * @since 2020-05-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Cols对象", description="")
public class Cols extends BaseEntity<Cols> {
    @ApiModelProperty(value = "表id")
    private Integer tableId;
    @ApiModelProperty(value = "列名")
    private String colName;
    @ApiModelProperty(value = "列描述")
    private String colDestory;
    @ApiModelProperty(value = "列备注")
    private String colRemark;
    @ApiModelProperty(value = "列位置")
    private Integer colPosition;
    @ApiModelProperty(value = "列类型1：String，2：数字")
    private Integer colType;
    @ApiModelProperty(value = "关联表")
    private Integer relatedTable;
    @ApiModelProperty(value = "关联列")
    private Integer relatedCol;
    @ApiModelProperty(value = "关联显示字段")
    private String relatedName;
    @ApiModelProperty(value = "列长度")
    private Integer colSize;
}
